home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
lang
/
eiffel
/
smalleif.97
/
se.t
/
SmallEiffel
/
lib_test
/
point.e
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-05-02
|
299 b
|
25 lines
class POINT
creation {ANY}
make
feature {ANY}
x, y : REAL;
make (cx : REAL; cy : REAL) is
do
x := cx;
y := cy;
end; -- make
feature {ANY}
translater(dx, dy : REAL) is
do
x := x + dx;
y := y + dy;
end; -- translater
end -- POINT